#include "qtreeindexeditor.h"

#include "qtreeindexeditordialog.h"

#include "../../../shared/property/qabstractproperty.h"
#include "../../../shared/qpropertyfactory.h"

#include <QStyle>

QTreeIndexEditor::QTreeIndexEditor(QAbstractProperty *property,QUndoStack* stack, QWidget *parent):
    QButtonCommonEditor(property,stack,parent)
{
}

void QTreeIndexEditor::btn_clicked()
{
    QTreeIndexEditorDialog dlg(this);
    dlg.exec();
}

qRegisterPropertyEditor(TreeIndex,QTreeIndexEditor)
